<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class ServiceTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $insert_data = [
            ['id'=> 1, 'name'=> '代驾', 'status'=> 1],
            ['id'=> 2, 'name'=> '城市快车', 'status'=> 1],
            ['id'=> 3, 'name'=> '顺风车', 'status'=> 1],
        ];

        DB::table('service')->insert($insert_data);

    }
}
